package com.suyuan.vo;

import com.suyuan.entity.CarInfo;
import com.suyuan.entity.CompanyInfo;

import java.io.Serializable;

/**
 *  车辆信息VO类
 */
public class CarInfoVO implements Serializable {

    /**
     *  车辆信息
     */
    private CarInfo carInfo;

    /**
     *  所属公司
     */
    private CompanyInfo companyInfo;

    public CompanyInfo getCompanyInfo() {
        return companyInfo;
    }

    public void setCompanyInfo(CompanyInfo companyInfo) {
        this.companyInfo = companyInfo;
    }

    public CarInfo getCarInfo() {
        return carInfo;
    }

    public void setCarInfo(CarInfo carInfo) {
        this.carInfo = carInfo;
    }

    public CarInfoVO(CarInfo carInfo, CompanyInfo companyInfo) {
        this.carInfo = carInfo;
        this.companyInfo = companyInfo;
    }
}
